<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
<html>
<head>
    <script type="text/javascript" src="resource/js/jquery-3.2.1.js"></script>
    <script type="text/javascript" src="/resource/js/bootstrap.js"></script>
    <link rel="stylesheet" href="/resource/css/bootstrap.css">
    <link rel="stylesheet" href="resource/css/index3.css" type="text/css">
    <script type="text/javascript" src=resource/js/My97DatePicker/WdatePicker.js></script>
    <script type="text/javascript" src="/resource/js/DateUtil.js"></script>
    <title>登录</title>
</head>
<body>
<div class="container">
    <font size="30">登录</font><br>
    <form:form action="${pageContext.request.contextPath}/login" modelAttribute="users">
        用户名:<form:input path="phone"></form:input><form:errors path="phone" cssStyle="color: red"></form:errors>
        密码:<form:input path="password"></form:input><form:errors path="password" cssStyle="color: red"></form:errors>
        <input type="submit" value="登录">
    </form:form>

</div>
</body>
</html>